<?php
session_start();
$cant=$_GET['q'];

$_SESSION['visible']=$_SESSION['visible']*(-1);

if($_SESSION['visible']==1){
	echo '<label>CANTIDAD: </label><input type="text" name="cantidad" id="searchForm" value="'.$cant.'"/>';	
}

?>